﻿using System;
using System.Collections.Generic;
using Cubezicles.NeedObjects;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace Cubezicles.Employees
{
    class Dev : Employee
    {

        public Dev(Game1 game, String modelFileName) : base(game, modelFileName)
        {
            // NAUGHTY HACKY ALTERNATIVE CONSTRUCTOR
        }
        /// <summary>
        /// Dev employee class constructor.
        /// A Dev has average quality of work and average attention span. Just your typical, cubicle-dwelling peon.
        /// </summary>
        public Dev(Game1 game, String name, int id, Cubicle cube, String modelFileName)
            : base(game, name, id, cube, modelFileName, devFacesFilePath)  
        {
            // Properties to be used in hire new employee manager
            //name = "", tagline = "";
            //price = 0;
            //avatar;

            base.name = "Developer"; // NOT their friendly employeename, their name as a employee type
            tagline = game.Messages["DevHiringTagline"];
            price = MoneyManager.CostHireBonusDev;
            this.DrawOrder = (int)Game1.DisplayOrder.Objects;
            avatar = Game.Content.Load<Texture2D>("Textures/NeedObjects/pinball"); // todo must update dev avatar

            QualityOfWork = 3; // 3 = average-ish
            AttentionSpan = 5; // 5 = average-ish

            Salary = MoneyManager.DailySalaryDev;

        }

        /// <summary>
        /// Load content for the Employee
        /// </summary>
        protected override void LoadContent()
        {
            //face = Game.Content.Load<Texture2D>(faceFileName); // *** can we make the faces/employees better lit?!?
             /*
             faceEcstatic = Game.Content.Load<Texture2D>(devEcstatic);
             faceHappy = Game.Content.Load<Texture2D>(devHappy);
             faceMeh = Game.Content.Load<Texture2D>(devMeh);
             faceSad = Game.Content.Load<Texture2D>(devSad);
             faceDespair = Game.Content.Load<Texture2D>(devDespair);
            */
            base.LoadContent();
        }
    }
}
